<template>
	<div class="order">
		<div class="order_div">
			我的订单
		</div>
		<div class="item_div" v-for="item in datalist">
			<div class="item_top_div">
				<span>{{item.shopName}}</span>
				<span>{{item.status}}</span>
			</div>
			<div class="item_buttom_div">
				<div class="item_buttom_left">
					<img v-for="url in item.imgs" :src="url"/>
					
				</div>
				<div class="item_buttom_right">
					<p>{{item.price}}</p>
					<p>{{item.number}}6件</p>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
	export default{
		data(){
			return{
				datalist:[
					{"shopName":"沃尔玛","status":"已取消",
					imgs:[require("../assets/icon_order.png"),require("../assets/icon_order.png"),require("../assets/icon_order.png")],
					price:66.9,number:6},
					{"shopName":"沃尔玛","status":"已取消",
					imgs:[require("../assets/icon_order.png"),require("../assets/icon_order.png")],
					price:36.8,number:2},
				]
			}
		}
	}
</script>

<style scoped>
	.order{
		background-color: #F9F9F9;
		width: 100%;
		height: 100%;
		position: fixed;
	}
	.order_div{
		height: 44px;
		background-color: white;
		color: #333333;
		font-size: 16px;
		line-height: 44px;
		text-align: center;
	}
	.item_div{
		background-color: white;
		margin-top: 16px;
		margin-left: 18px;
		margin-right: 18px;
		border-radius: 4px;
		padding-left: 16px;
		padding-right: 16px;
		padding-bottom: 16px;
	}
	.item_div .item_top_div{
		height: 54px;
		line-height: 54px;
		display: flex;
		justify-content: space-between;
	}
	.item_div .item_top_div :nth-child(1){
		font-size: 16px;
		color: #333333;
	}
	.item_div .item_top_div :nth-child(2){
		font-size: 14px;
		color: #999999;
	}
	.item_div .item_buttom_div{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.item_div .item_buttom_div .item_buttom_left img{
		width: 36px;
		height: 36px;
		margin-left: 6px;
		margin-right: 6px;
	}
	.item_div .item_buttom_div .item_buttom_right{
		text-align: right;
	}
	.item_div .item_buttom_div .item_buttom_right :nth-child(1){
		color: #e93b3b;
		font-size: 14px;
	}
	.item_div .item_buttom_div .item_buttom_right :nth-child(2){
		color: #333333;
		font-size: 12px;
	}
</style>
